const _http =require('http')
const server = _http.createServer()
server.on('request', function(req, res){
    console.log('收到用户请求')
})
server.listen(3000, function(){
    console.log('服务启动成功，访问地址：http://127.0.0.1:3000')
})